#include <opencv2/opencv.hpp>
#include <iostream>

const char* rice = "F:\\ML\\pics\\rice.jpg";
const char* lena = "F:\\ML\\pics\\lena.jpg";

using namespace cv;
using namespace std;

extern int hist(const char *fileName);
extern int threshold(const char *fileName);
extern int rice_analysis(const char *fileName);

int main(int argc, char** argv)
{
	hist(lena);
	threshold(rice);
	rice_analysis(rice);

	waitKey(0);
	destroyAllWindows();

	return 0;
}